package com.ajx.blog.mapper;

import java.util.List;

import com.ajx.blog.entity.ContentType;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

public interface ContentTypeMapper extends BaseMapper<ContentType> {

    /**
     * @param {*}
     * @return {List<Article>} 文章集合,将文章数量存储在pid字段
     * 
     * @description: 查询各类型的文章数量
     */
    List<ContentType> selectArticleNumByType();

}
